package com.zhongke.common.constant;

import android.os.Environment;

import com.zhongke.core.BuildConfig;

/**
 * author : wpt
 * date   : 2021/8/413:34
 * desc   : 常量类
 */
public class ZKConstant {

    public static class ZKHost {

        public static final String API_HOST_KEY = "apiHost";
        public static String DEV = "DEV";
        public static String TEST = "TEST";
        public static String PRE = "PRE";
        public static String RELEASE = "RELEASE";
        //开发域名
        public static String DEV_HOST = "http://172.29.151.140/";
        public static String DEV_H5_HOST = "http://172.29.151.140/";
        public static String DEV_LIVE_CHAT_HOST = "http://172.29.151.140:8081/chatIndex?kefu_id=kefu2&token=";

        //测试域名
        public static String TEST_HOST = "http://api.int-test.renzaihainan.com/";
        public static String TEST_H5_HOST = "http://static.int-test.renzaihainan.com/";
        public static String TEST_LIVE_CHAT_HOST = "http://api.int-test.renzaihainan.com:8081/chatIndex?kefu_id=kefu2&token=";

        //预发布域名
        public static String PRE_HOST = "https://api.rzhnrelease.zhongkeguoye.cn/";
        public static String PRE_H5_HOST = "https://static.rzhnrelease.zhongkeguoye.cn/";
        public static String PRE_LIVE_CHAT_HOST = "https://livechat.rzhnrelease.zhongkeguoye.cn/chatIndex?kefu_id=kefu2&token=";

        //正式域名
        public static String RELEASE_HOST = "https://api.renzaihainan.com/";
        public static String RELEASE_H5_HOST = "https://static.renzaihainan.com/";
        public static String RELEASE_LIVE_CHAT_HOST = "https://livechat.renzaihainan.com/chatIndex?kefu_id=kefu2&token=";

        public static String PIC_HOST = "https://d4ggmk2-1305051129.file.myqcloud.com";

        public static String APP_HOST = DEV_HOST;
        public static String APP_H5_HOST = DEV_H5_HOST;
        public static String APP_LIVE_CHAT_HOST = DEV_LIVE_CHAT_HOST;
        public static final String DIRECTORY_DOCUMENTS = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS).getAbsolutePath();

        public static final String DCMI_PATH = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).getAbsolutePath();
        //文件夹名字
        private static final String DIR_NAME = "zhongke";
        //下载音乐的时候保存的路径
        public static final String FILE_PATH = DIRECTORY_DOCUMENTS + "/";
        //拍照时图片保存路径
        public static final String CAMERA_IMAGE_PATH = DCMI_PATH + "/" + DIR_NAME + "/camera/";
    }



    /**
     * SharedPreferences常量
     */
    public static class ZKSP {
        //是否同意隐私政策
        public static final String IS_AGREE_PRIVACY_POLICY = "isAgreePrivacyPolicy";
        //公钥ke
        public static final String PUBLIC_KEY = "publicKey";
    }

    public static final String SOURCE_PAGE = "sourcePage";    //来源页面


}
